IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].tb_resource_image') AND TYPE in (N'U'))
BEGIN
CREATE TABLE tb_resource_image
(
    Id INT IDENTITY(1,1) NOT NULL,
    Code nvarchar(100) not null,
	zh_cn varchar(255) not null default(''),
	zh_tw varchar(255) not null default(''),
	en_us varchar(255) not null default(''),
	CreateBy VARCHAR(100),
    CreateDate DATETIME DEFAULT(GETDATE()),
    UpdateBy VARCHAR(100),
    UpdateDate DATETIME,
	CONSTRAINT PK_resource_image_Id PRIMARY KEY CLUSTERED (Id)
) 
END
GO